#pragma once
#ifdef NETCFG_EXPORTS
#define  NetCfg_API _declspec(dllexport)
#else
#define  NetCfg_API _declspec(dllimport)
#endif

extern "C" NetCfg_API int add(int a,int b);
extern "C" NetCfg_API bool getAllNe(char*& pStr);
extern "C" NetCfg_API bool NetCfg_Init();
extern "C" NetCfg_API bool AotoSetLogicPort(int item_status,char* strIP,int maskcode);
extern "C" NetCfg_API bool AutoSetLoopBackPort(int itemStatus=1,char* strIP="10.10.1.1",int maskcode=32);
extern "C" NetCfg_API bool setAllItemStatus(int type);
extern "C" NetCfg_API bool getTopoLink(char*& strtp);
extern "C" NetCfg_API bool getNeLogicPort(int neid,char*& strPorts);
extern "C" NetCfg_API bool setNeLogicPort(int neid,char* strPorts);
extern "C" NetCfg_API bool getNeLoopBackPort(int neid,char*& strPort);
extern "C" NetCfg_API bool setNeLoopBackPort(int neid,char* strPort);